#!/bin/bash # It is recommended to test the script on a local machine for its purpose and effects. # ManageEngine Desktop Central will not be responsible for any # damage/loss to the data/setup based on the behavior of the script. # Description - Allows non-admin users to add printers # Configuration - COMPUTER sudo /usr/bin/security authorizationdb write system.print.operator allow sudo /usr/sbin/dseditgroup -o edit -n /Local/Default -a everyone -t group lpadmin